﻿using Yz.Base;
using Yz.Model.Enums;

namespace Yz.Model.Views
{
    public class VmUserBase : ViewModelId
    {
        /// <summary>
        /// 登录名
        /// </summary> 
        public string LoginName { get; set; }
        /// <summary>
        /// 姓名
        /// </summary> 
        public string Name { get; set; }
        /// <summary>
        /// 用户类型
        /// </summary>
        public UserType UserType { get; set; }
        /// <summary>
        /// 是否禁用
        /// </summary>
        public StatusType StatusType { get; set; }
        /// <summary>
        /// 公司Id
        /// </summary>
        public int CompanyId { get; set; }
    }
    public class VmUser : VmUserBase
    {
        /// <summary>
        /// 备注
        /// </summary> 
        public string Remark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary> 
        public DateTime UpdateTime { get; set; }
    }
}
